// 引入ajax
import services from '../../services/services.js'

class Login {
  // 创建打卡
  login(data, isLoading = false) {
    return services.ajax({
      url: '/v1/user/wechatAppLogin',
      data: data,
      method: 'POST',
      isLoading
    })
  }
}


module.exports = new Login()